import Layout from '@/layout'

export default {
    path: '/financial',
    component: Layout,
    redirect: '/financial',
    name: 'Financial',
    meta: {
        title: '财务管理',
        icon: 'clipboard',
    },
    children: [
        {
            path: 'consumption',
            name: 'ConsumptionIndex',
            component: () => import('@/views/financial/consumption'),
            meta: {
                title: '消费多少送多少',
                icon: 'clipboard',
            }
        },{
            path: 'businessOrder',
            name: 'BusinessOrderIndex',
            component: () => import('@/views/financial/businessOrder'),
            meta: {
                title: '商品订单管理',
                icon: 'clipboard',
            }
        },
        {
            path: 'order',
            name: 'Order',
            component: () => import('@/views/financial/order'),
            meta: {
                title: '积分商品订单管理',
                icon: 'clipboard',
            }
        },
        {
            path: 'vip',
            name: 'VipIndex',
            component: () => import('@/views/financial/vip'),
            meta: {
                title: '会员开通',
                icon: 'clipboard',
            }
        },
        {
            path: 'circulation',
            name: 'CirculationIndex',
            component: () => import('@/views/financial/circulation'),
            meta: {
                title: '流转记录',
                icon: 'clipboard',
            }
        },
        {
            path: 'CommissionRecord',
            name: 'CommissionRecordIndex',
            component: () => import('@/views/financial/CommissionRecord'),
            meta: {
                title: '抽成记录',
                icon: 'clipboard',
            }
        }
]
}
